using System;
using System.Collections.Generic;

namespace ContinualFlame.Ajax
{	
	public abstract class SynchronizedObject
	{
		public SynchronizationManager Owner { get; internal set; }
		public string Name { get; private set; }
		
		public SynchronizedObject(string name)
		{
			Name = name;
		}
		
		public virtual IEnumerable<Message> GetDelta(long watermark)
		{
			yield break; // return an empty set by default
		}
	}
}
